	
<form action="<?php echo site_url('admin/dataman/bid/submit_email_compose');?>" name="email_compose" id="email_compose" method="post" enctype="multipart/form-data" >

	<?php $this->load->view('admin/partials/bid_menu'); ?>
	
	<h3>Bid &raquo; <?php echo ucfirst($this->uri->segment(4,''));?></h3>

	<div class="clrboth"></div>
	
	<table border="0" class="table-list">
		<thead>
			<tr>
				<th>Field</th>
				<th>Value</th>
			</tr>
		</thead>
		
		<tbody>
		 
			<tr>
				<td>From</td>
				<td><?php echo form_input('email_from',$items[0]->email_from,'id="email_from" size="50" disabled="disabled"'); ?></td>
			</tr>
			<tr>
				<td>To</td>
				<td><?php echo form_input('email_to',$items[0]->email_to,'id="email_to" size="50" disabled="disabled"'); ?></td>
			</tr>
			<tr>
				<td>Subject</td>
				<td><?php echo form_input('subject',$items[0]->subject,'id="subject" size="50" disabled="disabled"'); ?></td>
			</tr>
			<tr>
				<td>Body</td>
				<td> 
					<?php echo form_textarea('body', ($items[0]->body) , 'class="wysiwyg-advanced"'); ?>
				</td>
			</tr>
			<input type="hidden" name="action" id="action" value="" />
			<input type="hidden" name="item_id" value="<?php echo $items[0]->id;?>" />
			<input type="hidden" name="show_id" id="show_id" value="<?php echo $items[0]->show_id;?>" />
			<input type="hidden" name="bid_id" id="bid_id" value="<?php echo $items[0]->bid_id;?>" />
			<tr>
				<td>&nbsp;</td>
				<td>
					<input type="button" onclick="changeAct('send_email');" value="Send" id="send_email" name="send_email" class="no-uniform" />
					&nbsp;&nbsp;
					<input type="button" onclick="changeAct('cancel_email');" value="Cancel" id="cancel" name="cancel" class="no-uniform" />
					&nbsp;&nbsp;
					<input type="button" onclick="changeAct('delete_email');" value="Delete" id="delete" name="delete" class="no-uniform" />
				</td>
			</tr>
		</tbody>
	</table>
</form>

